This is actually not the right answer if you installed using mac ports. The reason is that the /usr/bin/psql application is not the right tool. Run which psql and remove it if it's in /usr/bin/psql. Then open a new terminal and run which psql. It will